package com.mirror.utils.base;

public class VerifyResult<T> {

	public static final String PASS = "成功";

	public static final String REBUT = "失败";

	private boolean pass;

	private String toast;

	private T bean;

	public VerifyResult() {
	}

	public VerifyResult(boolean pass, String toast) {
		super();
		this.pass = pass;
		this.toast = toast;
	}

	public VerifyResult(boolean pass, String toast, T bean) {
		super();
		this.pass = pass;
		this.toast = toast;
		this.bean = bean;
	}

	public String getToast() {
		return toast;
	}

	public void setToast(String toast) {
		this.toast = toast;
	}

	public T getBean() {
		return bean;
	}

	public void setBean(T bean) {
		this.bean = bean;
	}

	public boolean isPass() {
		return pass;
	}

	public void setPass(boolean pass) {
		this.pass = pass;
	}

}
